package com.icss.train_sys_back.mapper.statistics_manage;

import com.icss.train_sys_back.entity.statistics_manage.PassengerFlowEntity;
import org.apache.ibatis.annotations.Mapper;

import java.time.LocalDate;
import java.util.List;
import java.util.Map;

/**
 * @Author 小泽
 * @createTime 2025/10/10 9:24
 */
@Mapper
public interface PassengerStatisticsMapper {
    //查询数据
    PassengerFlowEntity getPassengerFlowStatistics(LocalDate startDate, LocalDate endDate, Integer stationId);
    
    //查询客流量趋势数据
    List<Map<String, Object>> getPassengerTrendData(LocalDate startDate, LocalDate endDate, Integer stationId);
    
    //查询热门车站客流分布数据
    List<Map<String, Object>> getStationDistributionData(LocalDate startDate, LocalDate endDate, Integer stationId);
    
    /**
     * 查询客流量时段分布数据
     */
    List<Map<String, Object>> getPassengerTimeDistributionData(LocalDate startDate, LocalDate endDate, Integer stationId);
}
